From: Ryan Grachek Date: Thu, 15 Nov 2018 14:41:25 +0000 (-0600) Subject: hikey: increase delay after eMMC initialized X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f6be4354cf4f57d167f04cf5c1cc6fc772e07171;p=project%2Fbcm63xx%2Fatf.git hikey: increase delay after eMMC initialized Some eMMC chips require a longer delay. After testing different chips, 20ms appears to work reliably. Signed-off-by: Ryan Grachek --- diff --git a/plat/hisilicon/hikey/hikey_bl2_setup.c b/plat/hisilicon/hikey/hikey_bl2_setup.c index 791076c9..d42afe0d 100644 --- a/plat/hisilicon/hikey/hikey_bl2_setup.c +++ b/plat/hisilicon/hikey/hikey_bl2_setup.c @@ -336,7 +336,7 @@ void bl2_platform_setup(void) params.flags = MMC_FLAG_CMD23; info.mmc_dev_type = MMC_IS_EMMC; dw_mmc_init(¶ms, &info); - mdelay(5); + mdelay(20); hikey_io_setup(); }